package main

import (
	"flag"
	"fmt"
	"webhook/route"

	"github.com/gin-gonic/gin"
)

func main() {
	var port int
	flag.IntVar(&port, "port", 8099, "端口号")
	flag.Parse()
	eng := gin.Default()
	route.InitRoute(eng)

	eng.Run(fmt.Sprintf(":%d", port))
}
